import Taro, { Component } from '@tarojs/taro'
import { AtList, AtListItem } from 'taro-ui'
import { View } from '@tarojs/components'
import { DNavBar } from '@/components'
import './waitinventory.scss'
import http from '@/qpi'
export default class waitinventory extends Component {

  config = {
    navigationBarTitleText: '首页'
  }

  componentWillMount() {
  }

  componentDidMount() { }



  onHandleDetail() {
    Taro.navigateTo({
      url: `/pages/dwaitinventory/dwaitinventory`
    })
  }

  render() {

    return (
      <View className='b_waitinventory'>
        <DNavBar title={'待盘库'} className='b_waitinventory_nav'></DNavBar>
        <View className='b_waitinventory__box'>
          <View className='b_waitinventory__box_flex'>
            <View className='b_waitinventory__box_left'>
              <View>车型</View>
              <View>车架号</View>
              <View>外观/内饰</View>
            </View>
            <View className='b_waitinventory__box_right'>
              <View>保时捷718 2018款 Cayman 2.0T</View>
              <View>AL9808932334</View>
              <View>白色/黑灰</View>
            </View>
          </View>
          <AtList className='b_waitinventory__list'>
            <View className='b_waitinventory__list_titile'>盘库状态</View>
            <AtListItem
              onClick={this.onHandleDetail.bind(this)}
              arrow='right'
              title='11月25日盘库'
              extraText='待盘库'
            />
            <AtListItem
              // onClick={this.onHandlePlace.bind(this)}
              arrow='right'
              title='11月26日盘库'
              extraText='待盘库'
            />
          </AtList>

        </View>
      </View>

    )
  }

}